{extend name="default/base/base_home" /}
{block name="mall_main"}
<div class="common-banner mb20">
    {dstaglib:adv ap_id='3' limit='1' item='v'}
    <img class="lazy" data-original="{:get_adv_img($v.adv_code)}">
    {/dstaglib:adv}
</div>
<div class="product-search w1200">
    <div class="mt mb20">
        <div class="location">
            <a href="{:url('Index/index')}" target="_blank" class="ml30">首页</a>&gt; 
            <a href="{:url('Product/search')}">产品介绍</a>&gt; 
            {foreach name="ancestor" item="meum" }
            <a href="{:url('Product/search',['id'=>$meum.column_id])}">{$meum.column_name}</a>&gt; 
            {/foreach}
        </div>
        <div class="nav mt10">
            <a href="{:url('product/search')}">全部产品</a>
            {foreach name="product_column_list" item="column"}
            <a href="{:url('product/search',['id'=>$column.column_id])}">{$column.column_name}</a>
            {/foreach}
        </div>
    </div>
    <div class="mc clearfix">
        <ul>
            {empty name="item_list"}
            没有数据
            {else /}
            {foreach name="item_list" item="product"}
            <li>
                <div class="p_img">
                    <a href="{:url('product/detail',['product_id'=>$product.product_id])}">
                        <img src="{:get_product_img($product.product_imgurl)}"/>
                    </a>
                </div>
                <div class="p_name">
                    {$product.product_title}
                </div>
            </li>
            {/foreach}
            {/empty}
        </ul>
    </div>
    {$show_page|raw}
</div>
{/block}